home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / translat.arc / TRANSLAT.DOC next >
Encoding:
Text File  |  1986-07-23  |  1.6 KB  |  49 lines

  1.                                  TRANSLATE.EXE
  2.                        Fast EBCDIC <-> ASCII TRANSLATION
  3.                                       by
  4.                                Thomas A. Lundin
  5.                             Graphics Unlimited Inc.
  6.                            3000 Second Street North
  7.                              Minneapolis, MN 55411
  8.                                 (612) 588-7571
  9.  
  10.  
  11. TRANSLATE converts files from EBCDIC to ASCII and vice versa. It's fast.
  12.  
  13. The format of the command is:
  14.  
  15.    TRANSLATE [@]filename TO EBCDIC|ASCII
  16.  
  17. The optional at-sign in front of the source filename indicates that the file 
  18. is a directory list, created by redirecting a DIR command into a file (e.g. 
  19. DIR *.* >dirlist). TRANSLATE will convert each file contained within this 
  20. list. 
  21.  
  22. When converting to EBCDIC, the output files are always created with .EBC as 
  23. the extension.
  24.  
  25. When converting to ASCII, the output files are always created with .ASC as the 
  26. extension.
  27.  
  28. Obviously, if you inadvertently ask for an EBCDIC file to be converted TO 
  29. EBCDIC, or for an ASCII file to be converted TO ASCII, you will end up with 
  30. garbage.
  31.  
  32.  
  33. Command examples:
  34.  
  35. C>translate dfile.doc to ebcdic
  36.  
  37. C>translate tapefile.ebc to ascii
  38.  
  39. C>dir *.txt >allfiles
  40. C>translate @allfiles to ebcdic
  41.  
  42.  
  43.                                      NOTES
  44.  
  45. TRANSLATE was written in Lattice C 2.00. The program is provided as-is, with 
  46. no expressed or implied warranty. Copy it at will and pass it around. If you 
  47. find TRANSLATE to be a nifty program, please contribute $5 to me at the above 
  48. address. 
  49.